/*
 * @Author: your name
 * @Date: 2020-12-30 14:09:22
 * @LastEditTime: 2021-01-23 20:11:24
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \node-server\db\config.js
 */

module.exports = process.env.NODE_ENV == 'dev' ?
  {
    host: 'localhost',
    user: 'root',
    password: 'root',
    database: 'nys'
  }
  :
  {
    host: 'localhost',
    user: 'nys',
    password: 'nys',
    database: 'nys'
  }  
